<div class="modal-header" id="scope">
	<h3 class="modal-title" ng-if="param.type == 'popular'">热门站点设置</h3>
</div>
<div class="modal-body">
	<form name="myForm" class="form-horizontal form-validation">
		<div class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<label class="col-sm-3 control-label">起始站点：</label>
					<div class="col-sm-7">
						<input type="text" class="form-control" placeholder="起始站点"
							ng-model="param.data.name" ng-readonly="param.type=='popular'"  required />
					</div>
				</div>
				<div class="form-group" ng-show="load">
					<label class="col-sm-3 control-label">当前设置：</label>
					<!--<p class="col-sm-7" style="margin-top: 5px">{{oneid}}、{{twoid}}、{{threeid}}</p>-->
					<p class="col-sm-7" style="margin-top: 5px">{{populars}}</p>
				</div>
				<div class="form-group" ng-show="close">
					<label class="col-sm-3 control-label">当前设置：</label>
					<p class="col-sm-7" style="margin-top: 5px">当前未设置热门站点</p>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>终点站点1：</label>
					<div class="col-sm-7">
						<ui-select ng-model="one.selected" theme="bootstrap">
						<ui-select-match placeholder="选择终点站点1" >{{$select.selected.name}}</ui-select-match>
						<ui-select-choices
							repeat="one in one | propsFilter:{name: $select.search}">
						<span ng-bind-html="one.name | highlight: $select.search" ></span>
						</ui-select-choices> </ui-select>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>终点站点2：</label>
					<div class="col-sm-7">
						<ui-select ng-model="two.selected" theme="bootstrap">
						<ui-select-match placeholder="选择终点站点2">{{$select.selected.name}}</ui-select-match>
						<ui-select-choices
							repeat="two in two | propsFilter:{name: $select.search}">
						<span ng-bind-html="two.name | highlight: $select.search" ></span>
						</ui-select-choices> </ui-select>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>终点站点3：</label>
					<div class="col-sm-7">
						<ui-select ng-model="three.selected" theme="bootstrap">
						<ui-select-match placeholder="选择终点站点3">{{$select.selected.name}}</ui-select-match>
						<ui-select-choices
							repeat="three in three | propsFilter:{name: $select.search}">
						<span ng-bind-html="three.name | highlight: $select.search" ></span>
						</ui-select-choices> </ui-select>
					</div>
				</div>

				<footer class="panel-footer text-right bg-light lter">
					<button class="btn btn-default" type="button" ng-click="cancel()">取消</button>
					<button type="submit" class="btn btn-success" ng-click="ok()">提交</button>
				</footer>
			</div>
	</form>
</div>
